package org.wzh.springmybatis.dao;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.wzh.springmybatis.entity.Student;

@Component
public interface StudentDao {
	
	@Select("select * from student where id = #{id}")
	Student selectStudent(int id);
	
}